package com.management.department.teacherinfosystem.Service;

import com.management.department.teacherinfosystem.DTO.ResearchFinishDTO;
import com.management.department.teacherinfosystem.DTO.ResearchProjectSubmitDTO;
import org.springframework.web.multipart.MultipartFile;

public interface ResearchProjectService {
    
    /**
     * 保存科研项目（包含成员和附件）
     */
    Long saveProjectWithMembersAndFile(ResearchProjectSubmitDTO dto, MultipartFile[] files) throws Exception;
    
    /**
     * 删除科研项目
     */
    void deleteProject(Long id) throws Exception;
    
    /**
     * 重新提交科研项目
     */
    void resubmitProject(Long id, ResearchProjectSubmitDTO dto, MultipartFile[] files) throws Exception;
    
    /**
     * 提交结题材料
     */
    void submitFinishMaterials(Long id, ResearchFinishDTO dto, MultipartFile[] files) throws Exception;
}
